package demo;

//Day06
public class Day05002 {
    public static void main(String[] args) {
        int[] arr = {11, 22, 33};
        printf(arr);
    }

    private static void printf(int[] arr) {
        System.out.print("[");
        for (int i = 0; i < 3; i++) {
            if (i != 2)
                System.out.print(arr[i] + ",");
            else
                System.out.print(arr[i] + "]");
        }
    }
}
